package com.adam.seatabusiness.business.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName OrderFeignService
 * @Description
 * @author LiDaXing
 * @since 2023-04-03
 * @Version V1.0
 **/
@FeignClient(value = "seata-order")
public interface OrderFeignService {

    @RequestMapping(value = "/order/order/createOrder")
    void createOrder(@RequestParam("userId") String userId, @RequestParam("money") int money, @RequestParam("commodityCode") String commodityCode);
}
